﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="edit.aspx.cs" Inherits="Joyintech.Admin.inpiao365.general.system.users.edit" %>

<%@ Register Src="~/checkRight.ascx" TagName="checkRight" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>用户编辑</title>
    <script language="javascript" type="text/javascript">
        var DG = frameElement.lhgDG;
        function ok() {
            // 这里写你要操作的代码，最后写刷新代码 
            DG.curWin.location.href = DG.curWin.location.href;
        } 
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="position">
        <span>用户编辑</span>
    </div>
    <br />
    <jui:HFPanel ID="HFPanel1" runat="server">
        <table border="0" cellpadding="0" cellspacing="1" width="450" align="center" class="datatable">
            <tr class="row1">
                <td class="check" width="120">
                    所属部门：
                </td>
                <td>
                    <jui:HFDropDownList ID="ddlDeptPID" runat="server" ChineseName="所属部门" PropertyName="DeptId">
                    </jui:HFDropDownList>
                </td>
            </tr>
            <tr class="row2">
                <td class="check">
                    用户名：
                </td>
                <td>
                    <jui:HFTextBox ID="UserName" runat="server" ChineseName="用户名" PropertyName="UserName"
                        NotNUll="True"></jui:HFTextBox>
                </td>
            </tr>
            <tr class="row1">
                <td class="check">
                    用户密码：
                </td>
                <td>
                    <jui:HFTextBox ID="UserPassword" runat="server" ChineseName="用户密码" PropertyName="UserPassword"></jui:HFTextBox>
                </td>
            </tr>
            <tr class="row2">
                <td class="check">
                    真实姓名：
                </td>
                <td>
                    <jui:HFTextBox ID="txtDeptTelphone" runat="server" ChineseName="真实姓名" PropertyName="UserTrueName"></jui:HFTextBox>
                </td>
            </tr>
            <tr class="row1">
                <td class="check">
                    电话：
                </td>
                <td>
                    <jui:HFTextBox ID="UserTelphone" runat="server" ChineseName="电话" PropertyName="UserTelphone"></jui:HFTextBox>
                </td>
            </tr>
            <tr class="row2">
                <td class="check">
                    邮件：
                </td>
                <td>
                    <jui:HFTextBox ID="UserEmail" runat="server" ChineseName="邮件" PropertyName="UserEmail"></jui:HFTextBox>
                </td>
            </tr>
            <tr class="row1">
                <td class="check">
                    备注：
                </td>
                <td>
                    <jui:HFTextBox ID="UserRemark" runat="server" ChineseName="备注" PropertyName="UserRemark"></jui:HFTextBox>
                </td>
            </tr>
            <tr class="row2">
                <td class="check">
                    用户角色：
                </td>
                <td>
                    <jui:HFCheckBoxList ID="cblUserRoles" runat="server" ChineseName="用户角色" 
                        PropertyName="UserRoles">
                    </jui:HFCheckBoxList>
                </td>
            </tr>
            <tr class="row1">
                <td class="check">
                    用户状态：
                </td>
                <td>
                    <jui:HFDropDownList ID="UserState" runat="server" ChineseName="用户状态" PropertyName="UserState">
                        <asp:ListItem Value="0">正常</asp:ListItem>
                        <asp:ListItem Value="1">禁用</asp:ListItem>
                    </jui:HFDropDownList>
                </td>
            </tr>
            <tr class="row2">
                <td colspan="2" class="fontC" align="center">
                    <jui:HFButton ID="btnSave" runat="server" CssClass="BigButton" Text="确定" OnClick="btnSave_Click" />
                    &nbsp;&nbsp;
                    <input type="button" value="返回" class="BigButton" onclick="DG.cancel();" />
                </td>
            </tr>
        </table>
    </jui:HFPanel>
    <uc1:checkRight ID="checkRight1" runat="server" />
    </form>
</body>
</html>
